<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>nc商城</title>
<link href="${pageContext.request.contextPath}/resources/css/common.css"
	rel="stylesheet" type="text/css" />
<link
	href="${pageContext.request.contextPath}/resources/css/product.css"
	rel="stylesheet" type="text/css" />
<script type="text/javascript"
	src="${pageContext.request.contextPath}/resources/script/ajax/pagejump.js"></script>
</head>
<body>
	<div class="container productList">
		<div class="span6">
			<div class="hotProductCategory">
				<c:forEach var="category" items="${categoryList}">
					<dl>
						<dt>
							<a href="javascript:;" onclick="toCategory(${category.cid})">${category.cname}</a>
						</dt>
						<c:forEach var="categorySecond"
							items="${category.categorySecondList}">
							<dd>
								<a href="javascript:;"
									onclick="toCategorySecond(${categorySecond.csid})">${categorySecond.csname}</a>
							</dd>
						</c:forEach>
					</dl>
				</c:forEach>
				<dl class="last">
					<dt>
						<a>商城卡</a>
					</dt>
					<dd>
						<a>商城卡</a>
					</dd>
				</dl>
				<dl class="last">
					<dt>
						<a href="${pageContext.request.contextPath}/resources/蔬菜分类.htm">定制套餐</a>
					</dt>
					<dd>
						<a>2-3人套餐</a>
					</dd>
					<dd>
						<a>4-6人套餐</a>
					</dd>
					<dd>
						<a>1-2人套餐</a>
					</dd>
					<dd>
						<a>标准套餐</a>
					</dd>
					<dd>
						<a>乳母套餐</a>
					</dd>
					<dd>
						<a>营养师1对1服务</a>
					</dd>
					<dd>
						<a>儿童套餐</a>
					</dd>
					<dd>
						<a>高考套餐</a>
					</dd>
					<dd>
						<a>学生套餐</a>
					</dd>
					<dd>
						<a>护眼套餐</a>
					</dd>
					<dd>
						<a>世杯套餐</a>
					</dd>
				</dl>
				<dl class="last">
					<dt>
						<a>健康生活附属品</a>
					</dt>
					<dd>
						<a>空气净化器</a>
					</dd>
					<dd>
						<a>薰衣草</a>
					</dd>
				</dl>
			</div>
		</div>
		<div class="span18 last">

			<form id="productForm"
				action="${pageContext.request.contextPath}/resources/image/蔬菜 - Powered By Mango Team.htm"
				method="get">
				<input type="hidden" id="brandId" name="brandId" value="">
				<input type="hidden" id="promotionId" name="promotionId" value="">
				<input type="hidden" id="orderType" name="orderType" value="">
				<input type="hidden" id="pageNumber" name="pageNumber" value="1">
				<input type="hidden" id="pageSize" name="pageSize" value="20">

				<div id="result" class="result table clearfix">
					<ul>
						<c:forEach var="product" items="${productList}">
							<li><a href="javascript:;"
								onclick="toProduct(${product.pid})"> <img
									src="${pageContext.request.contextPath}/${product.image}"
									width="170" height="170" style="display: inline-block;">
									<span style='color: green'>${product.pname}</span> <span
									class="price"> 商城价： ￥${product.shop_price} </span></a></li>
						</c:forEach>
					</ul>
				</div>
				<div class="pagination">
					<span class="firstPage">&nbsp;</span> <span class="previousPage">&nbsp;</span>
					<span class="currentPage">1</span> <a
						href="javascript: $.pageSkip(2);">2</a> <a class="nextPage"
						href="javascript: $.pageSkip(2);">&nbsp;</a> <a class="lastPage"
						href="javascript: $.pageSkip(2);">&nbsp;</a>
				</div>
			</form>
		</div>
	</div>

</body>
</html>